package com.exam.role.model;

import java.util.HashSet;
import java.util.Set;

/**
 * StuClass entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class StuClass implements java.io.Serializable
{

	// Fields

	private Integer id;
	private String classname;
	private String remarks;
	private String classno;
	private Set students = new HashSet(0);
	private Set teachers = new HashSet(0);

	// Constructors

	/** default constructor */
	public StuClass()
	{
	}

	/** minimal constructor */
	public StuClass(String classno)
	{
		this.classno = classno;
	}

	/** full constructor */
	public StuClass(String classname, String remarks, String classno, Set students, Set teachers)
	{
		this.classname = classname;
		this.remarks = remarks;
		this.classno = classno;
		this.students = students;
		this.teachers = teachers;
	}

	// Property accessors

	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public String getClassname()
	{
		return this.classname;
	}

	public void setClassname(String classname)
	{
		this.classname = classname;
	}

	public String getRemarks()
	{
		return this.remarks;
	}

	public void setRemarks(String remarks)
	{
		this.remarks = remarks;
	}

	public String getClassno()
	{
		return this.classno;
	}

	public void setClassno(String classno)
	{
		this.classno = classno;
	}

	public Set getStudents()
	{
		return this.students;
	}

	public void setStudents(Set students)
	{
		this.students = students;
	}

	public Set getTeachers()
	{
		return this.teachers;
	}

	public void setTeachers(Set teachers)
	{
		this.teachers = teachers;
	}

}